import threading
def fun_timer():
    print('Hello Timer!')
    global timer
    timer = threading.Timer(3,fun_timer)
    timer.start()

fun_timer()